home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / midi / midimetr.rdm < prev    next >
Text File  |  1996-05-20  |  2KB  |  68 lines

  1. Short:    OctaMED6.0 hack to monitor MIDI packets
  2. Author:   Eliot/Contortion (thanx Teijo!)
  3. Uploader: eliot@sci.muni.cz
  4. Type:     mus/midi
  5.  
  6.     What the hell is it for?
  7.  
  8. This short utility uses zshell (on Aminet, v2.9 used here)
  9. environment to monitor OctaMED v6.0 (by T. Kinnunen) MIDI
  10. transmission. It's based on Teijo's hack for registered
  11. users:
  12.  
  13.  
  14. Teijo wrote:
  15.  
  16. There's no extra space in the interrupt that could be patched.
  17. Here's a really awful kludge, though, but it will also disable
  18. running command optimization and therefore increase MIDI traffic
  19. a bit.
  20.  
  21. Make a backup copy and search the following HEX sequence in OctaMED.
  22.     6A10 B23C 00EF 620A B22E 0140 670A 1D41 0140
  23.  
  24. Replace it with:
  25.     52B8 0000 4E71 4E71 4E71 4E71 4E71 4E71 4E71
  26.  
  27. The above hack increases the long word in location 0.l by one for each
  28. byte that will be sent thru MIDI. Sorry, I don't have time to write a
  29. program to display the results, but any coder should be able to do one
  30. easily. (Enforcer can't be used then, though.)
  31.  
  32. - Teijo
  33.  
  34.     Installation?
  35.  
  36. Here's a little C proggy that does what we want.
  37.  
  38. I use the following alias to run patched OctaMED binary "8m"
  39. (in path), files midimeter.exe, midimeter and midimeter.zsh
  40. copied into the C: directory.
  41.  
  42.     alias 8m "avail -c;data:;run .8m;ram:;wait 30;c:midimeter"
  43.  
  44.  
  45.     Requirements?
  46.  
  47. Amiga running OctaMEDv6.? binary, Zshell (on Aminet).
  48.  
  49. (you can run midimeter.exe separatly too, but it's not so
  50. nice and doesn't open on an OctaMED public screen;
  51. sorry, I am not a programmer but a musician)
  52.  
  53.  
  54.     Functionality?
  55.  
  56. Midimeter opens his window on the OctaMED public screen and
  57. counts the bytes sent. Don't forget to close (Ctrl-C) it
  58. before quitting the main program.
  59.  
  60.  
  61.     Author?
  62.  
  63. Eli0t/Contortion, eliot@sci.muni.cz
  64.  
  65. Nothing guaranteed, freeware, source included.
  66.  
  67. [END]
  68.